Added arguments to apps so the files are not hard coded