Prepend environment-specific host to assets' file names and enable execution based on environment