Implemented thrust scale in the genrated code
Moved generated code to the standalone file to make its recreation easier