Added parameter functionality to compilation script