Changed a way common scripts are compiled