Move prebuild script in seporated file