Adding a script to prepare the precompiled image