Removed hard coded variables and absolute path