added abspath() global script function