FIXED: Bug in controller that passed wrong file names to bash script