Fix reload script for OS X