Changed relative paths to absolute paths and made syntax compatible with PHP 5.3