some scripts for PS and FW