Fix path issue when usign script from other directory