Library and Executable output path is only set when top directory, cleanup script better error handling