Better placement for scripts

+ cache now based on environment