Using getcwd() over getwd() for Wormulon