fixed compile scripts and compiled