tried to fix bugs with not compiling sxripts