make script path starts with '//' valid.