Fixed script compiler implementation and test command.