Generally when you write scripts your parameterize the table
dbid's and place them at the top of the script. When the application is copied you have to change the
dbid parameters manually or the new application will in fact be referring to the old set of
dbid parameters through the script.